package top.scsoul.voes.common.core.domain.model;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

public class IdsVo {
    @NotNull(message = "ids不能为空")
    @Size(min = 1, message = "集合长度为空")
    private List<Integer> ids;

    public List<Integer> getIds() {
        return ids;
    }

    public void setIds(List<Integer> ids) {
        this.ids = ids;
    }

    @Override
    public String toString() {
        return "Ids{" +
                "ids=" + ids +
                '}';
    }
}
